keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

No dial tone on FXS module connectors

16 years 10 months ago #306 by Dantix
Besides, Openvox should give me a dialtone with just load the module driver on OS or the dialtone should be given when asterisk is up and running.?
16 years 10 months ago #308 by james.zhu
hello, Dantix:
please post your console in asterisk, then i can help you.
regards!
james.zhu

16 years 8 months ago #361 by plindquist
I have the same situation. One FXS does not give dial tone, whereas the other I have does. Both configured the same.

* All LEDs on the card lights green
* Both showing up fine without errors when Zaptel loads
* Ztcfg reports everything fine
* Asterisk 'zap show channels' says OK
* 'zap show channel XX' says everything is OK
* when I go offhook Asterisk picks it up and starts a simple switch
* When I go onhook asterisk hangs up the channel
* When I call someone they can hear me, but I don't hear them

Once and a while after a full reboot I can hear a vague dial tone which quickly disappears. I suspect the FXS module is broken - can that be so?

What debug data do you wish to see?
16 years 8 months ago #362 by james.zhu
hello, could you post your zapata.conf, extensions.conf and log messages. we are able to help to solve the problem.
regards!
james.zhu

16 years 8 months ago #363 by miaolin
the dial tone of fxs port is given by asterisk, not openvox.

you have to registe the channel in to zapata.conf as extension, then asterisk will monitor the pick up event , then play dialtone.
16 years 8 months ago #365 by plindquist
OK, I'm using Trixbox 2.2 with latest Zaptel and Asterisk.

Everything is default, and all was working until a few days ago.

The CLI output has 2 parts:
1) Calling an external phone number - doesn;t work because of my dial plan, but there is no dial tone, but as can be seen the call goes on.

2) Calling internal extension, extension rings. If answered the extension hears me but I hear nothing. There is no dial tone.


Things are working, it's just missing dial tone. The same config was working 2 days ago. Nothing changed, dialtone was just no longer there.

Agreed, it is not the OpenVox card per se that gives the dial tone, I have two FXS modules. One doesn't work, one works fine. Same config, no changes.


zaptel.conf:
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
# channel 1, WCTDM, no module.
# channel 2, WCTDM, no module.
# channel 3, WCTDM, no module.
# channel 4, WCTDM, no module.
# channel 5, WCTDM, no module.
# channel 6, WCTDM, no module.
# channel 7, WCTDM, no module.
# channel 8, WCTDM, no module.
fxsks=9
fxsks=10
fxoks=11
fxoks=12

# Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"

# Global data

loadzone = th
defaultzone = th



CLI:
Last login: Fri Aug 31 11:04:38 2007 from 192.168.2.2

Welcome to trixbox

[root@asterisk ~]# asterisk -r
Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
=========================================================================
Connected to Asterisk 1.2.24 currently running on asterisk (pid = 4275)

-- Starting simple switch on 'Zap/11-1'
-- Executing Macro("Zap/11-1", "dialout-trunk|1|026611757||") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK=1") in new stack
-- Executing Set("Zap/11-1", "_NODEST=") in new stack
-- Executing Set("Zap/11-1", "DIAL_NUMBER=026611757") in new stack
-- Executing Set("Zap/11-1", "ROUTE_PASSWD=") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing GotoIf("Zap/11-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,8)
-- Executing Set("Zap/11-1", "GROUP()=OUT_1") in new stack
-- Executing Macro("Zap/11-1", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("Zap/11-1", "user-callerid: device 204") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing GotoIf("Zap/11-1", "0?start") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing Set("Zap/11-1", "AMPUSER=204") in new stack
-- Executing Set("Zap/11-1", "AMPUSERCIDNAME=OfficeZap") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=OfficeZap <204>") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("Zap/11-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("Zap/11-1", "Using CallerID "OfficeZap" <204>") in new stack
-- Executing Macro("Zap/11-1", "record-enable|204|OUT") in new stack
-- Executing GotoIf("Zap/11-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("Zap/11-1", "recordingcheck|20070831-224224|1188574937.12") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070831-224224|1188574937.12: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/11-1", "No recording needed") in new stack
-- Executing GotoIf("Zap/11-1", "0?skipoutcid") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK_OPTIONS=r") in new stack
-- Executing Macro("Zap/11-1", "outbound-callerid|1") in new stack
-- Executing GotoIf("Zap/11-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing GotoIf("Zap/11-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("Zap/11-1", "USEROUTCID=") in new stack
-- Executing Set("Zap/11-1", "EMERGENCYCID=") in new stack
-- Executing Set("Zap/11-1", "TRUNKOUTCID=6626611757") in new stack
-- Executing GotoIf("Zap/11-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("Zap/11-1", "0?usercid") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=6626611757") in new stack
-- Executing GotoIf("Zap/11-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("Zap/11-1", "CallerID set to "" <6626611757>") in new stack
-- Executing GotoIf("Zap/11-1", "0?nomax") in new stack
-- Executing GotoIf("Zap/11-1", "0?chanfull") in new stack
-- Executing DeadAGI("Zap/11-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("Zap/11-1", "OUTNUM=026611757") in new stack
-- Executing Set("Zap/11-1", "custom=ZAP/9") in new stack
-- Executing GotoIf("Zap/11-1", "0?customtrunk") in new stack
-- Executing Dial("Zap/11-1", "ZAP/9/026611757|300|r") in new stack
-- Called 9/026611757
-- Zap/9-1 answered Zap/11-1
-- Attempting native bridge of Zap/11-1 and Zap/9-1
-- Hungup 'Zap/9-1'


CLI calling local extension:
-- Starting simple switch on 'Zap/11-1'
== Refreshing DNS lookups.
-- Executing Macro("Zap/11-1", "exten-vm|201|201") in new stack
-- Executing Macro("Zap/11-1", "user-callerid") in new stack
-- Executing NoOp("Zap/11-1", "user-callerid: device 204") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing GotoIf("Zap/11-1", "0?start") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing Set("Zap/11-1", "AMPUSER=204") in new stack
-- Executing Set("Zap/11-1", "AMPUSERCIDNAME=OfficeZap") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=OfficeZap <204>") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "TTL: ARG1: 201") in new stack
-- Executing GotoIf("Zap/11-1", "0?continue") in new stack
-- Executing Set("Zap/11-1", "__TTL=64") in new stack
-- Executing GotoIf("Zap/11-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("Zap/11-1", "Using CallerID "OfficeZap" <204>") in new stack
-- Executing Set("Zap/11-1", "FROMCONTEXT=exten-vm") in new stack
-- Executing Set("Zap/11-1", "VMBOX=201") in new stack
-- Executing Set("Zap/11-1", "EXTTOCALL=201") in new stack
-- Executing Set("Zap/11-1", "CFUEXT=1000") in new stack
-- Executing Set("Zap/11-1", "CFBEXT=") in new stack
-- Executing Set("Zap/11-1", "RT=40") in new stack
-- Executing Macro("Zap/11-1", "record-enable|201|IN") in new stack
-- Executing GotoIf("Zap/11-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("Zap/11-1", "recordingcheck|20070831-225154|1188575509.14") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070831-225154|1188575509.14: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/11-1", "No recording needed") in new stack
-- Executing Macro("Zap/11-1", "dial|40|tr|201") in new stack
-- Executing DeadAGI("Zap/11-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: priority is 1
dialparties.agi: Caller ID name is 'OfficeZap' number is '204'
dialparties.agi: Methodology of ring is 'none'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
-- dialparties.agi: Added extension 201 to extension map
-- dialparties.agi: Extension 201 cf is disabled
-- dialparties.agi: Extension 201 do not disturb is disabled
> dialparties.agi: extnum: 201
> dialparties.agi: exthascw: 0
> dialparties.agi: exthascfb: 0
> dialparties.agi: extcfb:
> dialparties.agi: exthascfu: 1
> dialparties.agi: extcfu: 1000
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 201 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 201
-- dialparties.agi: dbset CALLTRACE/201 to 204
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("Zap/11-1", "ZAP/12|40|tr") in new stack
-- Called 12
-- Zap/12-1 is ringing
-- Zap/12-1 is ringing
-- Zap/12-1 is ringing
-- Hungup 'Zap/12-1'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1' in macro 'dial'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1'
-- Executing Macro("Zap/11-1", "hangupcall") in new stack
-- Executing ResetCDR("Zap/11-1", "w") in new stack
-- Executing NoCDR("Zap/11-1", "") in new stack
-- Executing GotoIf("Zap/11-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("Zap/11-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("Zap/11-1", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/11-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/11-1'
-- Hungup 'Zap/11-1'
Time to create page: 0.043 seconds
Powered by Kunena Forum